<?php
namespace app\admin\controller;

use app\BaseController;
use think\App;

class Base extends Basecontroller
{
	//通用域名
	private $weburl = '';

    public function __construct()
    {
        $this->weburl = 'http://'.$_SERVER['HTTP_HOST'];
    }

    //获取
    public function geturl(){
    	return $this->weburl;
    }
}
